<style>
.memlogo-area{
	color: #fabbbb;
}
.color{
	color: #fabbbb;
}
.bgcolor{
	background: #fabbbb;
}
.memlogo-area .memlogo img{
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 0 solid #fff;
}
.memlogo-area{
	width: 100%;
	background: #333;
	border-radius: 0;
	height:12rem;
	border-bottom-left-radius:5rem;
	border-bottom-right-radius:5rem;
}
.memlogo-area .sign-btn{
    position: absolute;
	border-radius:0.3rem;
    margin: 0 auto;
    padding: 0 0.3rem;
	right:16px;
    color:#fff;
	text-align:center;
    background: #fabbbb;
}
</style>
<div class='fui-page fui-page-current'>
	<div class='fui-content member-page'>
			<div style="">					
					<div class="memlogo-area">
						<div ng-if="pagedata.isboss==1" class="sign-btn" href="javascript:;" ng-click="pagedata.showset=true">设置</div>
						<div class="title c" style="width:100%;margin-bottom:1rem">
							 <span class="title-text bold" style="font-size:1.6rem;line-height:2rem">{{pagedata.bangpai.title}}</span> 
						</div>
						<div class="memlogo">
							<img ng-src="{{tomedia(pagedata.boss.avatar) || '../core/resource/images/gw-user.png'}}">
						</div>
						<div class="name">
						{{pagedata.boss.nickname || '匿名'}} 
						<span class="label label-default" style="color:#fabbbb;" href="javascript:;">帮主</span>
						<br>
						<span class="label label-default" style="background-color:#fabbbb;" href="javascript:;">{{pagedata.bangtitle}}</span>
						</div>
						<div class="code" style="margin-top:0">
							<div class="jylabel jylabel-info" href="javascript:;" ng-click="pagedata.zhaobin();" style="border: 1px solid red;color:red;">巡山呐喊</div>
						</div>
						<div class="bot" style="margin-top:0.6rem">
							<div class="jy-2">
							<h5 href="javascript:;">帮众战力 <a ng-click="pagedata.showrules=true" ><span style="color:#f60;line-height: 1">计算规则</span></a></h5>
							<h2 style="margin-top:0;">{{pagedata.bangpai.zhanli || '0'}} </h2>
							</div>
							<div class="jy-2" style="margin-top:1.5rem">
								<span class="r-f label label-default" style="font-size:0.7rem;color:#fabbbb;">{{pagedata.all_num}}</span>
								<span class="r-f" style="margin-right:0.3rem;">帮众人数</span>
							</div>
						</div>
						<div class="title c" style="width:100%;margin-top:1.6rem">
							 <span class="title-text bold" style="font-size:0.75rem;line-height:2rem">[{{pagedata.bangpai_hao}}]</span> 
						</div>
					</div>
					<div class="tips" style="margin:0.2rem 2rem;margin-top:-0.8rem;">
						<i class="fa fa-bullhorn"></i> [<red>帮派通告</red>]：{{pagedata.tips}}
					</div>
			</div>
			
			<div class="fixed-title" style="margin-top:1rem">
							 <span class="befirst spacing">
								 <span class="icon icon-fengexianzuo" style="font-size:2rem;color:#666"></span>
							 </span> 
							 <span class="title-text bold" style="color:#333;line-height:2rem">帮众列表</span> 
							 <span class="spacing">
								 <span class="icon icon-fengexianyou" style="font-size:2rem;color:#666"></span>
							 </span>
			</div>
			<div class='content-empty' ng-show="!pagedata.list || pagedata.list.length<=0">
				<i class='fa fa-comment-o'></i><br/><br/>快去招兵买马吧！
			</div>
			<div style="padding:0 1.5rem">
			<div class='fui-list-group container' ng-show="pagedata.list.length>0" >
				<div class="fui-list goods-item" ng-repeat="item in pagedata.list">
					<div class="fui-list-media">
						<img  ng-src="{{tomedia(item.member.avatar) || '../core/resource/images/nopic.jpg'}}" class="round" style="width:2rem;height:2rem">
					</div>
					<div class="fui-list-inner">
						<div class='title'>
							<span class="label label-success" style="background:#fabbbb">{{item.grouptitlle}}</span>
							<span style="margin-left:0.3rem">{{item.member.nickname}}</span>
						</div>
						<div class='gray'>{{item.createtime}}</div>
					</div>
					<div class='fui-list-remark'>
						<span class='fui-label fui-label-default gray' style="background:#f2f2f2;border-radius:0.2rem;">{{item.statustitle}}</span>
					</div>
				</div>
			</div>
			</div>
	</div>
</div>
<div ng-if="pagedata.showrules" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:#fc6d60">
			<style>
				input{ caret-color: #fff}
				.fui-cell-group .fui-cell .fui-cell-info  ::-webkit-input-placeholder{
					color: #fff
				}
				.fui-cell-group .fui-cell .fui-cell-info {
					font-size: 0.85rem;
					color: #fff;
				}
			</style>
			<i class="closed icon icon-cuowu" ng-click="pagedata.showrules=false"></i>
			 <div class='fui-cell-group fui-cell-group-o' style="margin:0.5rem 2rem;padding-top:0.5rem;background:#fc6d60">
				<div class='fui-cell-title c' style="color:#fff">侠士！您正在阅读江湖手册
				</div>
				<div class="content-images" style="padding:0.5rem;height:20rem; overflow-y:scroll;">
					<div class="text" style="padding-top:0.5rem;font-size:0.75rem;color:#ddd" ng-bind-html="trust(pagedata.rules.bangcontent)">
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showset" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:#fc6d60">
			<style>
				input{ caret-color: #fff}
				.fui-cell-group .fui-cell .fui-cell-info  ::-webkit-input-placeholder{
					color: #fff
				}
				.fui-cell-group .fui-cell .fui-cell-info {
					font-size: 0.85rem;
					color: #fff;
				}
			</style>
			<i class="closed icon icon-cuowu" ng-click="pagedata.showset=false"></i>
			 <div class='fui-cell-group fui-cell-group-o' style="margin:0.5rem 2rem;padding-top:0.5rem;background:#fc6d60">
				<div class='fui-cell-title c' style="color:#fff">您正在进行“设置帮派名称”操作
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'><i class="icon icon-set"  style="font-size:0.8rem"></i></div>
					<div class='fui-cell-info'><input type='text' class='fui-input' placeholder="帮派名称" ng-model="pagedata.post.title"></div>
				</div>
			</div>
			<div class="weui_btn_area" style="margin:2rem;">
				<a class='weui_btn weui_btn_primary' style="border-radius:1rem;background-color:#fff;color:#fc6d60" ng-click="post(pagedata.post,'set')">确认提交</a>
			</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('pluginnav')"></div>
<div ng-include="sys_html('_share')"></div>
<script>
scope.tool.get_list('jy_jianghu/item/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_jianghu/item/list/');
}
scope.pagedata.zhaobin=function(){
	if(scope.pagedata.isjia!=1){
		scope.message('只有本帮派的人员，才能巡山呐喊，招兵买马！');
		return false;
	}
	$('#showsharecover').modal();
}
if(scope.pagedata.jiamsg==1){
	scope.message('欢迎加入本帮派！增添一笔江湖录！');
}else if(scope.pagedata.jiamsg==2){
	scope.message('您已加入['+scope.pagedata.pluginset.max_jiaru+']个帮派了！不能再加入新帮派了！');
}else if(scope.pagedata.jiamsg==3){
	scope.message('该帮派已经满['+scope.pagedata.pluginset.max_num+']人了！不能再加入该帮派了！');
}else if(scope.pagedata.jiamsg==5){
	scope.message('要先登录，才能再加入帮派！');
}
</script>